package mju.cxf.dto;
/**
 * <p>
 * 用户模型
 * </p>
 *
 * @author 乐昌新
 * @since 2024-09-24
 */
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "用户数据传输对象")
@Data
public class UserDTO {

    @ApiModelProperty(value = "用户的唯一标识符", example = "1")
    private Long id;

    @ApiModelProperty(value = "用户的电子邮件地址", example = "user@example.com")
    private String email;

    @ApiModelProperty(value = "用户的姓名", example = "张三")
    private String nickname;

    @ApiModelProperty(value = "用户头像的 URL", example = "http://example.com/avatar.jpg")
    private String avatar;

    @ApiModelProperty(value = "用户的信用积分", example = "100")
    private Integer credit;

    @ApiModelProperty(value = "用户的积分", example = "100")
    private Integer points;

    @ApiModelProperty(value = "用户的会员状态", example = "1.0")
    private Double member;

    @ApiModelProperty(value = "用户的电话号码", example = "13234567890")
    private String phone;
}
